<template>
    <div>
        <el-button class="btn" type="primary" @click="goPage('/coord')">坐标转换</el-button>
      <router-view />
    </div>
</template>

<script>

export default {
    data() {
        return {

        };
    },
    methods: {
        goPage(path){
            this.$router.push(path)
        }
    },
    }
</script>
<style scoped lang="less">
/* @import url(); 引入公共css类 */
.btn{
    margin-right: 10px;
}
</style>